package com.cssl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cssl.pojo.Orders;
import com.cssl.service.OrderService;
import com.cssl.mapper.OrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author 丢咔咩~
* @description 针对表【order】的数据库操作Service实现
* @createDate 2023-08-29 15:07:13
*/
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Orders>
    implements OrderService{

    @Resource
    private OrderMapper mapper;
    @Override
    public Boolean uporderstu(String orderid) {
        if(mapper.uporderstu(orderid) > 0){
            return true;
        }
        return false;
    }
}




